package com.tjtt.gwm.dao.impl;

import java.util.List;

import org.hibernate.Query;

import com.tjtt.gwm.dao.ShebeichuzhiDao;
import com.tjtt.tdm.base.BaseHibernateDao;

public class ShebeichuzhiDaoImpl extends BaseHibernateDao implements ShebeichuzhiDao{

	@Override
	public List queryDataBySql(String sql) {
		 Query query = getSession().createSQLQuery(sql);
   	     List list = query.list();
   	     return list;
	}
	
	
}
